package com.clms.system.controller;


import com.clms.common.R;
import com.clms.system.service.StatisticsService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

/**
 * @program: clms-third
 * @description:
 * @author: 大鱼
 * @create: 2021-07-23 19:35
 **/
@RestController
@RequestMapping("system/tatistics")
public class StatisticsController {
    @Autowired
    StatisticsService service;
    @PostMapping("/bydata")
    R getbydata() {
        return service.Bydiarystatistics();
    }
}
